package com.gzist.elderlyserviceplatform.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gzist.elderlyserviceplatform.common.base.BaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 视频信息表
 */
@Data
@TableName("video")
@Schema(description = "视频信息表")
public class Video extends BaseDO {
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "简介")
    private String description;

    @Schema(description = "封面图片")
    private String coverImage;

    @Schema(description = "适合年龄段最小值")
    private Integer minAge;

    @Schema(description = "适合年龄段最大值")
    private Integer maxAge;
}
